(0) Obligation:
Runtime Complexity TRS:
The TRS R consists of the following rules:
a(a(x1)) → b(b(b(x1)))
a(x1) → d(c(d(x1)))
b(b(x1)) → c(c(c(x1)))
c(c(x1)) → d(d(d(x1)))
c(d(d(x1))) → a(x1)
Rewrite Strategy: INNERMOST
(1) CpxTrsToCdtProof (BOTH BOUNDS(ID, ID) transformation)
Converted CpxTRS to CDT
(2) Obligation:
Complexity Dependency Tuples Problem
Rules:
a(a(z0)) → b(b(b(z0)))
a(z0) → d(c(d(z0)))
b(b(z0)) → c(c(c(z0)))
c(c(z0)) → d(d(d(z0)))
c(d(d(z0))) → a(z0)
Tuples:
A(a(z0)) → c1(B(b(b(z0))), B(b(z0)), B(z0))
A(z0) → c2(C(d(z0)))
B(b(z0)) → c3(C(c(c(z0))), C(c(z0)), C(z0))
C(d(d(z0))) → c5(A(z0))
S tuples:
A(a(z0)) → c1(B(b(b(z0))), B(b(z0)), B(z0))
A(z0) → c2(C(d(z0)))
B(b(z0)) → c3(C(c(c(z0))), C(c(z0)), C(z0))
C(d(d(z0))) → c5(A(z0))
K tuples:none
Defined Rule Symbols:
a, b, c
Defined Pair Symbols:
A, B, C
Compound Symbols:
c1, c2, c3, c5
(3) CdtUnreachableProof (EQUIVALENT transformation)
The following tuples could be removed as they are not reachable from basic start terms:
A(a(z0)) → c1(B(b(b(z0))), B(b(z0)), B(z0))
B(b(z0)) → c3(C(c(c(z0))), C(c(z0)), C(z0))
(4) Obligation:
Complexity Dependency Tuples Problem
Rules:
a(a(z0)) → b(b(b(z0)))
a(z0) → d(c(d(z0)))
b(b(z0)) → c(c(c(z0)))
c(c(z0)) → d(d(d(z0)))
c(d(d(z0))) → a(z0)
Tuples:
A(z0) → c2(C(d(z0)))
C(d(d(z0))) → c5(A(z0))
S tuples:
A(z0) → c2(C(d(z0)))
C(d(d(z0))) → c5(A(z0))
K tuples:none
Defined Rule Symbols:
a, b, c
Defined Pair Symbols:
A, C
Compound Symbols:
c2, c5
(5) CdtPolyRedPairProof (UPPER BOUND (ADD(O(n^1))) transformation)
Found a reduction pair which oriented the following tuples strictly. Hence they can be removed from S.
A(z0) → c2(C(d(z0)))
We considered the (Usable) Rules:none
And the Tuples:
A(z0) → c2(C(d(z0)))
C(d(d(z0))) → c5(A(z0))
The order we found is given by the following interpretation:
Polynomial interpretation :
POL(A(x1)) = [4] + [2]x1
POL(C(x1)) = [2]x1
POL(c2(x1)) = x1
POL(c5(x1)) = x1
POL(d(x1)) = [1] + x1
(6) Obligation:
Complexity Dependency Tuples Problem
Rules:
a(a(z0)) → b(b(b(z0)))
a(z0) → d(c(d(z0)))
b(b(z0)) → c(c(c(z0)))
c(c(z0)) → d(d(d(z0)))
c(d(d(z0))) → a(z0)
Tuples:
A(z0) → c2(C(d(z0)))
C(d(d(z0))) → c5(A(z0))
S tuples:
C(d(d(z0))) → c5(A(z0))
K tuples:
A(z0) → c2(C(d(z0)))
Defined Rule Symbols:
a, b, c
Defined Pair Symbols:
A, C
Compound Symbols:
c2, c5
(7) CdtKnowledgeProof (EQUIVALENT transformation)
The following tuples could be moved from S to K by knowledge propagation:
C(d(d(z0))) → c5(A(z0))
A(z0) → c2(C(d(z0)))
Now S is empty
(8) BOUNDS(O(1), O(1))